
<link REL="stylesheet" href="include/style.css" type="text/css">
<!--[if IE]>
<link REL="stylesheet" href="include/styleIE.css" type="text/css">
<![endif]-->
{BEGIN style_block}
<style>
#height100{$id} {padding:1px;}
#toplinks_caption{$id} {padding:0px 1px;font-size:12px;font-weight:bold;}
#mastertable_block{$id} {margin-left:50px;margin-top:2px}
#toplinks_block{$id} {width:100%;padding:0px;padding-left:30px}
#toplinks_block{$id} span {padding-left:1px;}
#search_records_block{$id} { padding-left:5px;}
#search_records_block{$id} > * {vertical-align:middle;}
#search_records_block{$id} select {margin:3px 0px;}
#login_block{$id} {padding:10px; margin-bottom:3px}
#login_block{$id} * {margin-left:5px; padding:5px 0px;}
#menu_block{$id} {padding:10px;}
#menu_block{$id} * {list-style-type:none;}
#menu_block{$id} IMG {vertical-align:middle;}
#record_controls{$id} {padding:10px 10px;text-align: left;}
#record_controls{$id} span{padding-left:10px;}
#recordcontrolsadd_block{$id} {padding:10px 10px;border: solid; border-width: 1px; border-color: #C0C0C0;text-align: right;}
#grid_block{$id} {border:solid 1px #C0C0C0;}
.listIcons img.listIcon{margin:0 3px;opacity:0.3;filter:alpha(opacity=30);}
.grid_recordheader {padding-top:5px;}
.grid_recordheader a {margin:0 5px;}
body {margin:0px;padding:0px;}
.bottomPanelBorder{
	/*margin-right: 10px;*/
	padding-bottom: 18px;
	border-left: 1px solid #C0C0C0;
	border-right: 1px solid #C0C0C0;
	border-bottom: 1px solid #C0C0C0;
}
#searchform{$id}{float: left;}
#searchPanelContainer{$id}{
	width: 200px;
	float: left;
	position:absolute;
}
.searchOptions {margin-top: -10px;}
/*report styles*/
#export_links{$id} * {padding:0}
</style>
{END style_block}
{BEGIN iestyle_block}
<!--[if IE]>
<style>
.grid {height:100%;}
</style>
<![endif]-->
{END iestyle_block}
</head>
<body marginheight=0 marginwidth=0 {$bodyattrs}>
{BEGIN body}
{$header}
<div id="height100{$id}">

{BEGIN toplinks_block}
<div id="toplinks_block{$id}">
<h2><b>Grafico&nbsp;Maior&nbsp;Melhor</b></h2>
</div>
{END toplinks_block}

{BEGIN search_records_block} 
<div id="recordcontrolsadd_block{$id}" class="shade">
	<span id="search_records_block{$id}" class="shade">
		{BEGIN searchform}
		<!-- Search panel header for horizontal layouts -->
		<span id="searchform{$id}" align="absmiddle">
	<span id="searchPanelHeader{$id}">  
		{$simpleSearchFieldCombo}
		
		{$simpleSearchTypeCombo}
		
		{BEGIN searchform_text}
		<input type="text" {$searchfor_attrs} size="25">
		{END searchform_text}
		&nbsp;
		{BEGIN searchform_search}
			<span class=buttonborder><input type=button class="button" value="Buscar" {$searchbutton_attrs}></span> 
            
		{END searchform_search}
		&nbsp;
		{BEGIN searchform_showall}	
		<span id="showall{$id}" class="buttonborder" {$showAllCont_attrs}><input type="button" class="button" value="Mostrar Todos" {$showallbutton_attrs}></span>
		{END searchform_showall}
	</span>
	{BEGIN searchPanelTopButtons}
	<span>
		<!--&nbsp;
		<span class="buttonborder"><input class="button" type="button" id="showSrchWin{$id}" style="width: 18px; background-image: url(images/search/showWindowPin.gif);" {$showHideSearchWin_attrs} ></span>
        -->
		&nbsp;		
	<span class="buttonborder"><input class="button" type="button" id="showOptPanel{$id}" style="background-image: url(images/search/showOptions.gif);" {$showHideSearchPanel_attrs} ></span>

	</span>
	{END searchPanelTopButtons}
</span> 
	{END searchform}

		</span>
</div>
{END search_records_block} 


<!-- search panel and window -->
<div id="searchPanelContainer{$id}" class="searchPanelContainer">
{$adv_search_panel}
</div>

<div moveForSearch="move{$id}" {$marginStyle}>

{BEGIN recordcontrols_block}
<div id="record_controls{$id}">    {BEGIN newrecord_controls}
    <span id="newrecord_controls{$id}">     {BEGIN add_link}
    <span class=buttonborder>
    <input type=button class="button" value="Adicionar Novo" {$addlink_attrs}>
    </span>
    {END add_link}

        {BEGIN inlineadd_link}
<span class=buttonborder>
<input type=button class="button" value="Adicionar Novo" {$inlineaddlink_attrs} >
</span>
{END inlineadd_link}
 </span>
    {END newrecord_controls}
{$lookupSearchControls}
{BEGIN record_controls}
<span id="record_controls{$id}2"> 
                {BEGIN editselected_link}
<span class=buttonborder {$editselectedlink_span}>
<input type=button class="button" value="Editar selecionado" {$editselectedlink_attrs}>
</span>
{END editselected_link}
{BEGIN saveall_link}
<span class=buttonborder {$savealllink_span}>
<input type=button class="button" value="Salvar todos" {$savealllink_attrs}>
</span>
{END saveall_link}
{BEGIN cancelall_link}
<span class=buttonborder {$cancelalllink_span}>
<input type=button class="button" value="Cancelar Edição" {$cancelalllink_attrs}>
</span>
{END cancelall_link}

        {BEGIN deleteselected_link}
<span class=buttonborder {$deleteselectedlink_span}>
<input type=button class="button" value="Elimina Selecionados" {$deleteselectedlink_attrs}>
</span>
{END deleteselected_link}

        
         </span>
{END record_controls}
</div>
{END recordcontrols_block}
<div class="message" id="usermessage{$id}">{$user_message}</div>

    <div id="cright_block{$id}">
       {BEGIN chart_block}
       <div id="chart_block{$id}">
{$grafico_maior_melhor_chart 1000 530}
        </div>
        {END chart_block}
      

{BEGIN pagination_block}
<div id="pagination_block{$id}" align="center" class="toplist" >{$pagination}</div>
{END pagination_block}

{BEGIN message_block}
<div id="message_block{$id}" align=center valign=middle class=toplist><b>{$message}</b></div>
{END message_block}

</div>
{END body}
{$footer}


